package com.eastdigit.org.model;

import com.eastdigit.system.model.Entity;
import com.eastdigit.system.model.IEmployeePos;
import java.io.Serializable;

public class EmployeePos extends Entity implements IEmployeePos, Serializable {
    private String empId;

    private String deptId;

    private String posId;

    private String posType;

    private static final long serialVersionUID = 1L;

    @Override
    public boolean isMainPos() {
        return "1".equals(posType);
    }

    @Override
    public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId;
    }

    @Override
    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    @Override
    public String getPosId() {
        return posId;
    }

    public void setPosId(String posId) {
        this.posId = posId;
    }

    public String getPosType() {
        return posType;
    }

    public void setPosType(String posType) {
        this.posType = posType;
    }
}
